package stationGUI;

import java.awt.Color;
import java.util.Vector;

public class SuperStation {
  static ServerNode n1;
  static ServerNode n2;
  static ServerNode n3;
  static ServerNode n4;
  Vector<ServerNode> all;
  //public static void main(String[] args) {
  public SuperStation(){  
    n1=new ServerNode(Color.GREEN);
    n2=new ServerNode(Color.BLUE);
    //n3=new Node(Color.BLUE);
    //n4=new Node(Color.BLUE);

    //n2.addNeighbor(n1);
    n1.addNeighbor(n2);
    /*n4.addNeighbor(n1);
    n3.addNeighbor(n1);
    n3.addNeighbor(n2);
    n2.addNeighbor(n3);
    n2.addNeighbor(n1);
    n1.addNeighbor(n2);
    n1.addNeighbor(n3);
    n1.addNeighbor(n4);*/
    
    all=new Vector<ServerNode>(2);
    all.add(n1);
    all.add(n2);
    //all.add(n3);
    //all.add(n4);


    //Station s2=createStation(n2);
    //createStation(n1);
    //createStation(n2);
  }
  
  public ServerNode getNode() {
    return all.remove(0);
  }
}
